export default {
  data() {
    return {
      dateType: 'daterange',
      cycleList: [ //周期下拉框
        { value: '日', label: '日', type: 'daterange' },
        { value: '月', label: '月', type: 'monthrange' },
        { value: '季', label: '季', type: 'quartrange' },
        { value: '年', label: '年', type: 'yearrange' },
      ],
    }
  },
  methods: {
    changeCycle (item) { //周期改变
      this.form.local_time.value  = null
      this.start_date = ''
      this.end_date =  ''
      this.timePicker = null
      this.cycle = item.value
      this.dateType = item.type
    },
  }
}